/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.ht.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 单表生成Entity
 * @author yy
 * @version 2017-02-26
 */
public class HtHouse extends DataEntity<HtHouse> {
	
	private static final long serialVersionUID = 1L;
	private String name;		// 名称
	private String code;		// 编号
	private String address;		// 地址
	private String standard;		// 规格
	private String houseType;		// 类型(1为出售，2为租赁)
	private String houseArea;		// 面积
	private String price;		// 总价格
	private String storey;		// 楼层
	private String unitPrice;		// 单价
	private String owner;		// 业主
	private String ownerPhone;		// 业主电话
	private String orientation;		// 方向
	private String describe;		// 描述
	private String image;		// 图片地址
	private String status;		// 状态:1为待售，2为已出售
	private String beginHouseArea;		// 开始 面积
	private String endHouseArea;		// 结束 面积
	private String beginPrice;		// 开始 总价格
	private String endPrice;		// 结束 总价格
	private String beginUnitPrice;		// 开始 单价
	private String endUnitPrice;		// 结束 单价
	
	public HtHouse() {
		super();
	}

	public HtHouse(String id){
		super(id);
	}

	@Length(min=1, max=64, message="名称长度必须介于 1 和 64 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Length(min=1, max=64, message="编号长度必须介于 1 和 64 之间")
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
	
	@Length(min=1, max=64, message="地址长度必须介于 1 和 64 之间")
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}
	
	@Length(min=1, max=255, message="规格长度必须介于 1 和 255 之间")
	public String getStandard() {
		return standard;
	}

	public void setStandard(String standard) {
		this.standard = standard;
	}
	
	@Length(min=1, max=11, message="类型(1为出售，2为租赁)长度必须介于 1 和 11 之间")
	public String getHouseType() {
		return houseType;
	}

	public void setHouseType(String houseType) {
		this.houseType = houseType;
	}
	
	@Length(min=1, max=11, message="面积长度必须介于 1 和 11 之间")
	public String getHouseArea() {
		return houseArea;
	}

	public void setHouseArea(String houseArea) {
		this.houseArea = houseArea;
	}
	
	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}
	
	@Length(min=1, max=255, message="楼层长度必须介于 1 和 255 之间")
	public String getStorey() {
		return storey;
	}

	public void setStorey(String storey) {
		this.storey = storey;
	}
	
	public String getUnitPrice() {
		return unitPrice;
	}

	public void setUnitPrice(String unitPrice) {
		this.unitPrice = unitPrice;
	}
	
	@Length(min=1, max=255, message="业主长度必须介于 1 和 255 之间")
	public String getOwner() {
		return owner;
	}

	public void setOwner(String owner) {
		this.owner = owner;
	}
	
	@Length(min=1, max=255, message="业主电话长度必须介于 1 和 255 之间")
	public String getOwnerPhone() {
		return ownerPhone;
	}

	public void setOwnerPhone(String ownerPhone) {
		this.ownerPhone = ownerPhone;
	}
	
	@Length(min=1, max=255, message="方向长度必须介于 1 和 255 之间")
	public String getOrientation() {
		return orientation;
	}

	public void setOrientation(String orientation) {
		this.orientation = orientation;
	}
	
	@Length(min=0, max=255, message="描述长度必须介于 0 和 255 之间")
	public String getDescribe() {
		return describe;
	}

	public void setDescribe(String describe) {
		this.describe = describe;
	}
	
	@Length(min=0, max=255, message="图片地址长度必须介于 0 和 255 之间")
	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}
	
	@Length(min=1, max=11, message="状态:1为待售，2为已出售长度必须介于 1 和 11 之间")
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
	public String getBeginHouseArea() {
		return beginHouseArea;
	}

	public void setBeginHouseArea(String beginHouseArea) {
		this.beginHouseArea = beginHouseArea;
	}
	
	public String getEndHouseArea() {
		return endHouseArea;
	}

	public void setEndHouseArea(String endHouseArea) {
		this.endHouseArea = endHouseArea;
	}
		
	public String getBeginPrice() {
		return beginPrice;
	}

	public void setBeginPrice(String beginPrice) {
		this.beginPrice = beginPrice;
	}
	
	public String getEndPrice() {
		return endPrice;
	}

	public void setEndPrice(String endPrice) {
		this.endPrice = endPrice;
	}
		
	public String getBeginUnitPrice() {
		return beginUnitPrice;
	}

	public void setBeginUnitPrice(String beginUnitPrice) {
		this.beginUnitPrice = beginUnitPrice;
	}
	
	public String getEndUnitPrice() {
		return endUnitPrice;
	}

	public void setEndUnitPrice(String endUnitPrice) {
		this.endUnitPrice = endUnitPrice;
	}
		
}